package com.gy.api.video.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class FilePageSearchVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "文件标识（文件编码）")
    private String fileKey;
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    @ApiModelProperty(value = "文件样品类型【1 报审影片样片  2 重点网络剧样片 3 微短剧样片】",required = true)
    private String fileType;
    @ApiModelProperty(value = "用户ID",hidden = true)
    private String userId;

    @ApiModelProperty(value = "页数", required = true)
    private Integer pageNum;
    @ApiModelProperty(value = "每页显示记录数", required = true)
    private Integer pageSize;

    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 10;
        }
        return pageSize;
    }
}